﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Celeriq.Common
{
    [Serializable]
    [DataContract()]
    public class PagingInfo
    {
        public PagingInfo()
        {
            this.PageOffset = 1;
            this.RecordsPerPage = 10;
            this.SortAsc = true;
        }

        [DataMember]
        public string Keyword { get; set; }
        [DataMember]
        public string SortField { get; set; }
        [DataMember]
        public bool SortAsc { get; set; }
        [DataMember]
        public int PageOffset { get; set; }
        [DataMember]
        public int RecordsPerPage { get; set; }

    }
}